<template>
    <AppView :title="title" :menu-list="testMenuListData">
      <div slot="content">
        <router-view/>
      </div>
    </AppView>
</template>

<script>
import AppView from "../../components/basic/AppView";
import caishen from "../../assets/image/caishen.png";

export default {
  name: 'Home',
  components: {
    AppView
  },
  data: function () {
    return {
      title: "",
      testMenuListData: {
        baseRoute:"loan",
        menuList: [
          {
          title: "借贷管理",
          icon: caishen,
          items: [
            {
              route: "",
              text: "新增借款",
              default: true
            },
            {
              route: "loanreview",
              text: "借款审核"
            },
            {
              route: "loannsm",
              text: "新标维护"
            },
            {
              route: "loantarget",
              text: "标的上架"
            },
            {
              route: "loanmowb",
              text: "进行中的标的管理"
            },
            {
              route: "loanfullb",
              text: "满标复审"
            },
            {
              route:"loanallloan",
              text: "所有借款标"
            }
          ]
        },
        ]
      }
    }
  }
}
</script>